package com.glowdayz.model;

/** 2차카테고리의 정보를 표현하는 Model 클래스 */
public class SecondCategoryCMD {
	
	private int idSecondCategory;
	private int idFirstCategory;
	private String secondCategoryText;
	private String keyWord;
	private int sortKey;
	private int isDisplay;
	private String create_date;
	private String modified_date;
	private int productCount;
	private int newCount;
	
	public SecondCategoryCMD() {
	}
	
	/** 추가용 */
	public SecondCategoryCMD(int idFirstCategory,
			String secondCategoryText, String keyWord, int sortKey, int isDisplay) {
		super();
		this.idFirstCategory = idFirstCategory;
		this.secondCategoryText = secondCategoryText;
		this.keyWord = keyWord;
		this.sortKey = sortKey;
		this.isDisplay = isDisplay;
	}
	
	/** 수정용 */
	public SecondCategoryCMD(int idSecondCategory, int idFirstCategory,
			String secondCategoryText, String keyWord, int sortKey, int isDisplay) {
		super();
		this.idSecondCategory = idSecondCategory;
		this.idFirstCategory = idFirstCategory;
		this.secondCategoryText = secondCategoryText;
		this.keyWord = keyWord;
		this.sortKey = sortKey;
		this.isDisplay = isDisplay;
	}

	public SecondCategoryCMD(int idSecondCategory, int idFirstCategory,
			String secondCategoryText, String keyWord, int sortKey,
			int isDisplay, String create_date, String modified_date) {
		super();
		this.idSecondCategory = idSecondCategory;
		this.idFirstCategory = idFirstCategory;
		this.secondCategoryText = secondCategoryText;
		this.keyWord = keyWord;
		this.sortKey = sortKey;
		this.isDisplay = isDisplay;
		this.create_date = create_date;
		this.modified_date = modified_date;
	}
	
	public SecondCategoryCMD(int idSecondCategory, int idFirstCategory,
			String secondCategoryText, String keyWord, int sortKey,
			int isDisplay, String create_date, String modified_date,
			int productCount, int newCount) {
		super();
		this.idSecondCategory = idSecondCategory;
		this.idFirstCategory = idFirstCategory;
		this.secondCategoryText = secondCategoryText;
		this.keyWord = keyWord;
		this.sortKey = sortKey;
		this.isDisplay = isDisplay;
		this.create_date = create_date;
		this.modified_date = modified_date;
		this.productCount = productCount;
		this.newCount = newCount;
	}

	public int getIdSecondCategory() {
		return idSecondCategory;
	}

	public void setIdSecondCategory(int idSecondCategory) {
		this.idSecondCategory = idSecondCategory;
	}

	public int getIdFirstCategory() {
		return idFirstCategory;
	}

	public void setIdFirstCategory(int idFirstCategory) {
		this.idFirstCategory = idFirstCategory;
	}

	public String getSecondCategoryText() {
		return secondCategoryText;
	}

	public void setSecondCategoryText(String secondCategoryText) {
		this.secondCategoryText = secondCategoryText;
	}

	public String getKeyWord() {
		return keyWord;
	}

	public void setKeyWord(String keyWord) {
		this.keyWord = keyWord;
	}

	public int getSortKey() {
		return sortKey;
	}

	public void setSortKey(int sortKey) {
		this.sortKey = sortKey;
	}

	public int getIsDisplay() {
		return isDisplay;
	}

	public void setIsDisplay(int isDisplay) {
		this.isDisplay = isDisplay;
	}

	public String getCreate_date() {
		return create_date;
	}

	public void setCreate_date(String create_date) {
		this.create_date = create_date;
	}

	public String getModified_date() {
		return modified_date;
	}

	public void setModified_date(String modified_date) {
		this.modified_date = modified_date;
	}

	public int getProductCount() {
		return productCount;
	}

	public void setProductCount(int productCount) {
		this.productCount = productCount;
	}

	public int getNewCount() {
		return newCount;
	}

	public void setNewCount(int newCount) {
		this.newCount = newCount;
	}

	@Override
	public String toString() {
		return "SecondCategoryCMD [idSecondCategory=" + idSecondCategory
				+ ", idFirstCategory=" + idFirstCategory
				+ ", secondCategoryText=" + secondCategoryText + ", keyWord="
				+ keyWord + ", sortKey=" + sortKey + ", isDisplay=" + isDisplay
				+ ", create_date=" + create_date + ", modified_date="
				+ modified_date + ", productCount=" + productCount
				+ ", newCount=" + newCount + "]";
	}
	
}
